package net.trustie.pipeline;

import javax.annotation.Resource;

import net.trustie.dao.SoftPedia_Dao;
import net.trustie.model.softpedia_Model;
import org.springframework.stereotype.Component;
import us.codecraft.webmagic.Task;
import core.PageModelPipeline;


@Component("softpedia_pipeline")
public class SoftPedia_pipeline implements PageModelPipeline<softpedia_Model> {

    @Resource
    private SoftPedia_Dao softpedia_dao;
    
    
	@Override
	public void process(softpedia_Model t, Task task) {
		// TODO Auto-generated method stub
		softpedia_dao.add(t);
	}

}
